package com.demo.interfaceautotest;

import org.testng.Assert;
import org.testng.annotations.Test;

/**
 * 接口自动化练习1
 */
public class InterfaceAutoTestDemo {

    //dependsOnMethods 依赖的方法 会让依赖的方法先执行
    @Test(dependsOnMethods = "test2")
    public void test1() {
        System.out.println("test1....");
        Assert.assertEquals(true, true);
    }

    @Test
    public void test2() {
        System.out.println("test2....");
    }
}
